package testApp.khronus.apps;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class TestAppActivity extends Activity 
	implements Button.OnClickListener{
    /** Called when the activity is first created. */
	private View mButton;
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
        mButton = this.findViewById(R.id.button1);
        mButton.setOnClickListener((android.view.View.OnClickListener)this);
    }
    
    public void onClick(View v) {
    	if(R.id.button1 == v.getId())
    	{
	    	/* TextView text = new TextView(this);
	    	text.setText("this is continue button");
	    	this.setContentView(text);*/
	    	Intent i = new Intent(this,About.class);
	    	this.startActivity(i);
    	}
    }
}